<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>房联行增值服务部后台管理中心</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
		<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
		<link rel="stylesheet" href="./css/font.css">
		<link rel="stylesheet" href="./css/xadmin.css">
		<script type="text/javascript" src="js/jquery-2.1.1.min.js"></script>
		<script type="text/javascript" src="./lib/layui/layui.js" charset="utf-8"></script>
		<script type="text/javascript" src="./js/xadmin.js"></script>	
		<!--三级联动-->
		<script type="text/javascript" src="js/data.js"></script>
	    <script type="text/javascript" src="js/province.js"></script>
	    <script type="text/javascript">
	        var defaults = {
	            s1: 'provid',
	            s2: 'cityid',
	            s3: 'areaid',
	            v1: null,
	            v2: null,
	            v3: null
	        };
	    </script>
		<!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
		<!--[if lt IE 9]>
      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
	</head>
	<body>
		<div class="x-nav">
			<span class="layui-breadcrumb">
		        <a href="javascript:;">首页</a>
		        <a href="javascript:;">工地管理</a>
		        <a><cite>项目列表</cite></a>
		    </span>
			<a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
				<i class="layui-icon layui-icon-refresh-1" style="line-height:30px"></i>
			</a>
		</div>
		<div class="x-body">
			<div class="layui-row">
				<form class="layui-form">
					<div class="layui-form-item">
				    	<div class="layui-inline">
				    		<label class="layui-form-label">工程编号：</label>
							<div class="layui-input-inline">
								<input type="text" name="code" placeholder="请输入工程编号" autocomplete="off" class="layui-input">
							</div>
				    	</div>
				    	<div class="layui-inline">
				    		<label class="layui-form-label">客户姓名：</label>
							<div class="layui-input-inline">
								<input type="text" name="username" placeholder="请输入客户姓名" autocomplete="off" class="layui-input">
							</div>
				    	</div>
				    	<div class="layui-inline">
					        <label class="layui-form-label">创建时间：</label>
					        <div class="layui-input-inline">
					        	<input type="text" name="start" id="start" placeholder="开始日期" autocomplete="off" class="layui-input">
					        </div>
					        <div class="layui-form-mid">-</div>
					        <div class="layui-input-inline">
					        	<input type="text" name="end" id="end" placeholder="结束日期" autocomplete="off" class="layui-input">
					        </div>
					    </div>
					    <div class="layui-inline">
					    	<button class="layui-btn layui-bg-green" lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>
					    	<button class="layui-btn layui-bg-orange" type="reset">清空</button>
					    </div>  
					</div>
					
				</form>
			</div>
			<xblock>
				<button class="layui-btn layui-btn-sm" onclick="x_admin_show('添加项目','./Construction-add.html',730,480)"><i class="layui-icon"></i>添加项目</button>
				<span class="x-right" style="line-height:40px">共有数据：88 条</span>
			</xblock>
		<div class="formstyle">
			<table class="layui-table gdlist">
				<thead>
					<tr>
						<th>序号</th>
						<th>工地编号</th>
						<th>工地名称</th>
						<th>工地类型</th>
						<th>房屋面积</th>
						<th>房屋地址</th>
						<th>客户姓名</th>
						<th>客户电话</th>
						<th>工程总价</th>
						<th>平台托管的余款</th>
						<th>创建时间</th>
						<th>上次修改时间</th>
						<th>工地状态</th>
						<th>装修公司名称</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>0</td>
						<td>kh2012451141</td>
						<td>开元一号5号楼1203室</td>
						<td>工地类型</td>
						<td>120</td>
						<td>洛阳西工区开元一号5号楼1203室</td>
						<td>张先生</td>
						<td>15825256326</td>
						<td>30万</td>
						<td>10万</td>
						<td>2015-02-25 10:02:25</td>
						<td>2015-02-25 10:03:25</td>
						<td>工地状态</td>
						<td>装修公司名称</td>
					  	<td class="td-editor">
							<span onclick="success(this,'10001')" class="layui-badge layui-bg-blue">向客户确认申请</span>
						</td>
					</tr>
					<tr>
						
					</tr>
						
						
					
					
				</tbody>
			</table>
		</div>	
			<div id="page"></div>
		</div>
		<script>
			layui.use(['laypage', 'laydate'], function() {
				var laydate = layui.laydate
				,laypage = layui.laypage;
				//时间调用
				laydate.render({
					elem: '#start'
				});
				laydate.render({
					elem: '#end'
				});
			    //分页
			    laypage.render({
					elem: 'page'
			        ,count: 100
			        ,layout: ['count', 'prev', 'page', 'next', 'limit', 'refresh', 'skip']
			        ,jump: function(obj){
			          console.log(obj)
			        }
			    });
			    
			     
			});

		</script>
	</body>
</html>